package web

import (
	"SkyPath/internal/domain/dbtools/entry"
	"github.com/gin-gonic/gin"
	"strconv"
)

func GetDistribute(c *gin.Context) {
	model := c.Query("model")
	dataSize := c.Query("dataSize")

	datsize, _ := strconv.Atoi(dataSize)
	entry.GetDistributeData(model, datsize, c)
}
